package com.legolas.api.service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/8/4 0004
 */
public interface SeckillService {

    int addGoods(String name, Integer stock);

    int buyGoods(Integer id);

    int addStock(Integer id);

    List getAllGoods();
}
